package com.koron.car.web.authorized.bean.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.koron.car.web.common.UpdateParameter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * (WCmDelimitApply)实体类
 *
 * @author twcao
 * @since 2022-03-31 11:24:55
 */
@Data
@ApiModel("定编申请")
public class DelimitApply implements Serializable, UpdateParameter {
    private static final long serialVersionUID = 386131032416151588L;

    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty("水司标识")
    private String mark;

    @ApiModelProperty("编码")
    private String code;

    @ApiModelProperty("申请经营管理用车数量")
    private Integer managerNum;

    @ApiModelProperty("申请业务保障用车数量")
    private Integer securityNum;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty("编制生效时间,格式：yyyy-MM-dd")
    private Date effectTime;

    @ApiModelProperty("减编编号")
    private String reductionNum;

    @ApiModelProperty("状态，字典(delimit_apply_state)：草稿、待审核、已完成")
    private String state;

    @ApiModelProperty(value = "创建人账号")
    private String createBy;

    @ApiModelProperty(value = "创建人姓名")
    private String createByName;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新人账号")
    private String updateBy;

    @ApiModelProperty(value = "更新人姓名")
    private String updateByName;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "部门")
    private String deptId;

}
